package adaptorDemo.example1;

/**
 * @author zsh
 * @Description
 * @create 2022-04-19 19:15
 */
public class PrintBanner extends Banner implements PrintDemo {

    public PrintBanner(String string) {
        super(string);
    }

    @Override
    public void printWeak() {
        showWithParen();
    }

    @Override
    public void printStrong() {
        showWithAster();
    }
}
